package com.wangc.commons.service;

import com.wangc.commons.configuration.validation.ValidationConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * @author LoongChow
 * @date 2019/01/22
 */
@Service
@Slf4j
public class CommonStarter {

    @PostConstruct
    public void init() {
        log.info("common初始化开始...................................");
        ValidationConfig.initValidation();
    }

}
